{% extends 'worker.html'%}
{%block content%}
<div class="container">
    <div style="margin-bottom:15px;">
    </div>
    <div class="panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title">{{title}}</h3>
        </div>
        <div class="panel-body">
            <div class="clearfix"></div>
            <div style="margin-bottom:10px;float:right;"></div>
            <table class="table table-bordered table-hover">
                <thead>
                    <tr>
                        <th>ID</th>
                        <th>客户姓名</th>
                        <th>纯净水</th>
                        <th>数量</th>
                        <th>状态</th>
                    </tr>
                </thead>
                <tbody>
                    {% for obj in queryset %}
                    <tr>
                        <td>{{obj.id}}</td>
                        <td>{{obj.cname}}</td>
                        <td>{{obj.pname}}</td>
                        <td>{{obj.num}}</td>
                        <td>{{obj.get_state3_display}}</td>
                    </tr>
                    {%endfor%}
                </tbody>
            </table>
            
            <div class="clearfix"></div>
            <ul class="pagination"style="float:right">
                {{page_string}}
             </ul>
        </div>
        
    </div>
</div>
{% endblock %}
   
  